package hello.app.dialog;

import android.app.AlertDialog.Builder;
import android.content.Context;
import android.content.DialogInterface;

public class ChangeEvaluationBuilder extends Builder{

	public ChangeEvaluationBuilder(Context context) {
		super(context);
		setIcon(android.R.drawable.btn_star);
		setTitle("評価の変更");
		setMessage("評価を変更しますか？");
		setPositiveButton("OK",
				new DialogInterface.OnClickListener() {
					public void onClick(DialogInterface dialog, int id) {
						dialog.cancel();
					}
			}
		);

		setNegativeButton("キャンセル",
				new DialogInterface.OnClickListener() {
					public void onClick(DialogInterface dialog, int id) {
						dialog.cancel();
					}
			}
		);
	}

}
